﻿
using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace GN.Pay.Core.Entities
{
    [Table("System_Constant")]
    [Serializable]
    public class SystemConstant:Entity
    {
        //组Id        
        [Column(Order = 0)]
        public int GroupId { get; set; }
        

        //常量名称
        [Required]
        [StringLength(maximumLength:100)]
        public string ConstantName { get; set; }
        //常量说明
        [StringLength(maximumLength:255)]
        public string ConstantExplain { get; set; }

        //整数属性1
        public long? IntegerProperty1 { get; set; }
        //整数属性2
        public long? IntegerProperty2 { get; set; }
        //整数属性3
        public long? IntegerProperty3 { get; set; }
        //字符属性1
        [StringLength(maximumLength:100)]
        public string StringProperty1 { get; set; }
        //字符属性2
        [StringLength(maximumLength:100)]
        public string StringProperty2 { get; set; }
        //字符属性3
        [StringLength(maximumLength:100)]
        public string StringProperty3 { get; set; }
        //实数属性1
        public decimal? DecimalProperty1 { get; set; }
        //实数属性2
        public decimal? DecimalProperty2 { get; set; }
        //实数属性3
        public decimal? DecimalProperty3 { get; set; }
        //系统常量对应关系
        public virtual SystemConstantGroup SystemConstantGroup { get; set; }
    }
}
